export { }

abstract class Animal {
    eat(food: string) {
        console.log("直接用嘴吃" + food)
    }
    abstract run(distcance: number): void
}

class Cat extends Animal {
    run(distance: number): void {
        console.log("cat 飞快的跑了" + distance)
    }
}

const c1 = new Cat()
c1.eat("老鼠")
c1.run(1)